Skip to content

indexOf Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

int indexOf(string input, string value) ​

csharp
int indexOf(string input, string value)

Mimics javascript string.indexOf Primary use case is consistency in expression evaluations shared with front-end

Returns ​

integer representing the position of value within the string, -1 if not found